package top.hidoctor.auscultation.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class User {
    /**
     * address :
     * avatar : patient/2021/01/08/1610085206377_0.jpg
     * birthday : 618937200000
     * certificate : 00008888
     * createdBy : 66195784999108608
     * createdTime : 1593590304000
     * degree : 46597733535973376
     * degreeName : 硕士
     * detailAddress :
     * education : 46597733011685376
     * educationName : 硕士研究生
     * email :
     * experience : 0
     * gender : 0
     * hospital : {"hospitalName":"听诊研究中心","id":"67918961378852864"}
     * id : 66195784999108608
     * idcard : 330108198908130912
     * idcardPhoto : patient/2021/01/08/1610085302606_0.jpg,patient/2021/01/08/1610085310006_0.jpg,patient/2021/01/08/1610085319206_0.jpg
     * idcardType : 1
     * integral : 1295
     * isDeleted : 1
     * level : 0
     * nation : 汉族
     * phone : 12345678901
     * position : 46597732378345472
     * positionName : 副高级
     * realName : 超级管理员
     * role : {"id":"3124295500824576","name":"超级管理员"}
     * specialty : 46593808216883200
     * specialtyName : 食品卫生与营养学
     * status : 2
     * updatedBy : 66195784999108608
     * updatedTime : 1610089873000
     */

    private String address;
    private String avatar;
    private Long birthday;
    private String certificate;
    private String createdBy;
    private Long createdTime;
    private String degree;
    private String degreeName;
    private String detailAddress;
    private String education;
    private String educationName;
    private String email;
    private Integer experience;
    private Integer gender;
    private HospitalBean hospital;
    private String id;
    private String idcard;
    private String idcardPhoto;
    private String idcardType;
    private Integer integral;
    private Integer isDeleted;
    private Integer level;
    private String nation;
    private String phone;
    private String position;
    private String positionName;
    private String realName;
    private RoleBean role;
    private String specialty;
    private String specialtyName;
    private Integer status;
    private String updatedBy;
    private Long updatedTime;

    @NoArgsConstructor
    @Data
    public static class HospitalBean {
        /**
         * hospitalName : 听诊研究中心
         * id : 67918961378852864
         */

        private String hospitalName;
        private String id;
    }

    @NoArgsConstructor
    @Data
    public static class RoleBean {
        /**
         * id : 3124295500824576
         * name : 超级管理员
         */

        private String id;
        private String name;
    }
}
